using System.Collections;
using System.Collections.Generic;
using System;
using UnityEngine;

public abstract class GameModule:IResponse
{


    /// <summary>
    /// 打开模块 打开模块必须添加AddAllResponseFun的执行，否则无法执行响应监听
    /// </summary>
    public abstract void Open();

    /// <summary>
    /// 关闭
    /// </summary>
    public abstract void OnClose();

    /// <summary>
    /// 删除自身
    /// </summary>
    public abstract void RemoveSelf();


    /// <summary>
    /// 添加所有需要响应的事件
    /// </summary>
    public abstract void AddAllResponseFun();
}
